﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OrderSystemApi.Pojo
{
    [SugarTable("buyers")]
    public class Buyer
    {
        public Buyer() { }
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }
        [SugarColumn(ColumnName = "Name")]
        public string Name { get; set; }
        public override string ToString()
        {
            return "buyerId:" + Id + ",buyerName:" + Name;
        }
    }
}
